package com.chengdu.third.pojo;

public class Area {
    private long id;
    private String prefectures;
    private String town;
    private String village;

    public Area(long id, String prefectures, String town, String village) {
        this.id = id;
        this.prefectures = prefectures;
        this.town = town;
        this.village = village;
    }

    public Area() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPrefectures() {
        return prefectures;
    }

    public void setPrefectures(String prefectures) {
        this.prefectures = prefectures;
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    @Override
    public String toString() {
        return "AREA{" +
                "id=" + id +
                ", prefectures='" + prefectures + '\'' +
                ", town='" + town + '\'' +
                ", village='" + village + '\'' +
                '}';
    }
}
